package com.bj58.mis.apm.server.kylin.util;

public class Pair<T1, T2> {
    protected T1 first = null;
    protected T2 second = null;

    public Pair() {
    }

    public Pair(T1 a, T2 b) {
        this.first = a;
        this.second = b;
    }

    public static <T1, T2> Pair<T1, T2> newPair(T1 a, T2 b) {
        return new Pair(a, b);
    }

    public T1 getFirst() {
        return this.first;
    }

    public void setFirst(T1 a) {
        this.first = a;
    }

    public T2 getSecond() {
        return this.second;
    }

    public void setSecond(T2 b) {
        this.second = b;
    }

}
